<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <link rel="stylesheet" type="text/css" href="admin/css/public.css">
</head>

<body>
<meta charset='utf8'/>
<div  id="main">
    <h2>添加新闻</h2>
    <form name="login"  action="news_edit" method="post" enctype="multipart/form-data">
        {{ csrf_field() }}
        <table border="0"    cellspacing="10" cellpadding="0">
            <input type="hidden" class="id" name="id">
            <tr>
                <td>新闻标题：</td>
                <td><input   type="text" name="news_title" class="txt" value="<?php echo $info->news_title?>"></td>
            </tr>
            <tr>
                <td>所属分类：</td>
                <td>
                    <select   name='p_name'>
                        <option value="欧洲新闻">欧洲新闻</option>
                        <option value="国际新闻">国际新闻</option>
                        <option value="国内新闻">国内新闻</option>
                        <option value="娱乐新闻">娱乐新闻</option>
                        <option value="体育新闻">体育新闻</option>
                        <option value="财经新闻">财经新闻</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>新闻类型：</td>
                <td>
                    <select   name='cate_name'>
                        <option value="普通新闻">普通新闻</option>
                        <option value="视频新闻">视频新闻</option>
                        <option value="图片新闻">图片新闻</option>
                    </select>
                </td>
            </tr>

            <tr>
                <td>新闻内容：</td>
                <td><textarea  name="content"  value="<?php echo $info->content?>"   class="textarea"  > </textarea></td>
            </tr>

            <tr>
                <td>添加人：</td>
                <td><input   type="text"  name="news_man"  class="txt"  value="<?php echo $info->news_man?>"></td>
            </tr>

            <tr>
                <td>添加资源：</td>
                <td><input   type="file"  name="face" value="<?php echo $info->face?>"></td>
            </tr>


            <tr>
                <td>时间：</td>
                <td><input   type="date"  name="created_at"  class="txt" value="<?php echo $info->created_at?>" ></td>
            </tr>

            <tr>
                <td>&nbsp;</td>
                <td><input  type="submit" value="修改完成"  class="sub"/><input  type="reset" value="重 置"  class="res"/></td>
            </tr>
        </table>

    </form>
</div>
</body>
</html>
